package bb.lanxing.mvvm.sportsetting

import bb.lanxing.net.retrofit.GenericResponse
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST

interface SportSettingService {
    @GET("/prod-api/uniaccount/userSportSetting/get")
    suspend fun getSportSetting(): GenericResponse<UserSportSetting?>

    @POST("/prod-api/uniaccount/userSportSetting/update")
    suspend fun updateSportSetting(
        @Body userSportSetting: UserSportSetting,
    ): GenericResponse<UserSportSetting>
}
